
func void b_enter_freeminelager_kapitel_1()
{
};


var int enterfreeminelager_kapitel2;

func void b_enter_freeminelager_kapitel_2()
{
	if(ENTERFREEMINELAGER_KAPITEL2 == FALSE)
	{
		ENTERFREEMINELAGER_KAPITEL2 = TRUE;
	};
};


var int enterfreeminelager_kapitel3;

func void b_enter_freeminelager_kapitel_3()
{
	if(ENTERFREEMINELAGER_KAPITEL3 == FALSE)
	{
		ENTERFREEMINELAGER_KAPITEL3 = TRUE;
	};
};


var int enterfreeminelager_kapitel4;

func void b_enter_freeminelager_kapitel_4()
{
	if(ENTERFREEMINELAGER_KAPITEL4 == FALSE)
	{
		ENTERFREEMINELAGER_KAPITEL4 = TRUE;
	};
};


var int enterfreeminelager_kapitel5;

func void b_enter_freeminelager_kapitel_5()
{
	if(ENTERFREEMINELAGER_KAPITEL5 == FALSE)
	{
		if(FLAG_ORCS_CHK_28 == TRUE)
		{
			Wld_InsertNpc(wolf4,"FP_ROAM_FMC_01");
			Wld_InsertNpc(wolf4,"FP_ROAM_FMC_02");
			Wld_InsertNpc(wolf4,"FP_ROAM_FMC_03");
			Wld_InsertNpc(wolf4,"FP_ROAM_FMC_04");
			Wld_InsertNpc(Gobbo_Black,"FP_ROAM_FMC_05");
			Wld_InsertNpc(Gobbo_Black,"FP_ROAM_FMC_06");
			Wld_InsertNpc(Gobbo_Black,"FP_ROAM_FMC_07");
			Wld_InsertNpc(Gobbo_Black,"FP_ROAM_FMC_08");
			Wld_InsertNpc(Gobbo_Black,"FP_ROAM_FMC_09");
			Wld_InsertNpc(bloodfly3,"FP_ROAM_FMC_10");
			Wld_InsertNpc(bloodfly3,"FP_ROAM_FMC_11");
			Wld_InsertNpc(dragonsnapper4,"FP_ROAM_FMC_13");
			Wld_InsertNpc(dragonsnapper4,"FP_ROAM_FMC_14");
			Wld_InsertNpc(dragonsnapper4,"FP_ROAM_FMC_15");
			Wld_InsertNpc(dragonsnapper4,"FP_ROAM_FMC_16");
			Wld_InsertNpc(Draconian,"FP_ROAM_FMC_17");
			Wld_InsertNpc(Draconian,"FP_ROAM_FMC_18");
			Wld_InsertNpc(Draconian,"FP_ROAM_FMC_19");
			Wld_InsertNpc(Draconian,"FP_ROAM_FMC_20");
			Wld_InsertNpc(Draconian,"FP_ROAM_FMC_21");
			Wld_InsertNpc(Draconian,"FP_ROAM_FMC_22");
			Wld_InsertNpc(Draconian,"FP_ROAM_FMC_23");
			Wld_InsertNpc(dragonsnapper5,"FP_ROAM_FMC_24");
			Wld_InsertNpc(dragonsnapper5,"FP_ROAM_FMC_25");
			Wld_InsertNpc(wolf4,"FP_ROAM_FMC_26");
			Wld_InsertNpc(wolf4,"FP_ROAM_FMC_27");
			Wld_InsertNpc(wolf4,"FP_ROAM_FMC_28");
			Wld_InsertNpc(wolf4,"FP_ROAM_FMC_29");
			Wld_InsertNpc(bloodfly3,"FP_ROAM_FMC_30");
			Wld_InsertNpc(bloodfly3,"FP_ROAM_FMC_31");
			Wld_InsertNpc(bloodfly3,"FP_ROAM_FMC_32");
			Wld_InsertNpc(dragonsnapper4,"FP_ROAM_FMC_33");
			Wld_InsertNpc(dragonsnapper4,"FP_ROAM_FMC_34");
			Wld_InsertNpc(snapper4,"FP_ROAM_FMC_35");
			Wld_InsertNpc(snapper4,"FP_ROAM_FMC_36");
			Wld_InsertNpc(snapper4,"FP_ROAM_FMC_37");
			Wld_InsertNpc(snapper4,"FP_ROAM_FMC_38");
			Wld_InsertNpc(snapper4,"FP_ROAM_FMC_39");
			Wld_InsertNpc(warg4,"FP_ROAM_FMC_40");
			Wld_InsertNpc(warg4,"FP_ROAM_FMC_41");
			Wld_InsertNpc(warg5,"FP_ROAM_FMC_42");
			Wld_InsertNpc(Gobbo_Black,"FP_CAMPFIRE_FMC_01");
			Wld_InsertNpc(Gobbo_Black,"FP_CAMPFIRE_FMC_02");
			Wld_InsertNpc(Gobbo_Black,"FP_CAMPFIRE_FMC_03");
			Wld_InsertNpc(Gobbo_Black,"FP_CAMPFIRE_FMC_04");
			Wld_InsertNpc(Gobbo_Black,"FP_CAMPFIRE_FMC_05");
			Wld_InsertNpc(Gobbo_Black,"FP_CAMPFIRE_FMC_06");
			Wld_InsertNpc(Gobbo_Black,"FP_CAMPFIRE_FMC_07");
			Wld_InsertNpc(dragonsnapper4,"FP_ROAM_FMC_MONSTER_01");
			Wld_InsertNpc(dragonsnapper4,"FP_ROAM_FMC_MONSTER_02");
			Wld_InsertNpc(dragonsnapper4,"FP_ROAM_FMC_MONSTER_03");
			Wld_InsertNpc(bloodfly3,"FP_ROAM_FMC_MONSTER_04");
			Wld_InsertNpc(bloodfly3,"FP_ROAM_FMC_MONSTER_05");
			Wld_InsertNpc(bloodfly3,"FP_ROAM_FMC_MONSTER_06");
			Wld_InsertNpc(warg4,"FP_ROAM_FMC_MONSTER_07");
			Wld_InsertNpc(warg4,"FP_ROAM_FMC_MONSTER_08");
			Wld_InsertNpc(warg4,"FP_ROAM_FMC_MONSTER_09");
			Wld_InsertNpc(dragonsnapper5,"FP_ROAM_FMC_MONSTER_10");
			Wld_InsertNpc(warg4,"FP_ROAM_FMC_MONSTER_11");
			Wld_InsertNpc(warg4,"FP_ROAM_FMC_MONSTER_12");
			Wld_InsertNpc(warg4,"FP_ROAM_FMC_MONSTER_13");
		};
		ENTERFREEMINELAGER_KAPITEL5 = TRUE;
	};
};


var int enterfreeminelager_kapitel6;

func void b_enter_freeminelager_kapitel_6()
{
	if(ENTERFREEMINELAGER_KAPITEL6 == FALSE)
	{
		if(FLAG_ORCS_CHK_28 == TRUE)
		{
			Wld_InsertNpc(orkelite_addon1,"FP_ROAM_FMC_01");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_02");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_03");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_04");
			Wld_InsertNpc(orkelite_addon1,"FP_ROAM_FMC_05");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_06");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_07");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_08");
			Wld_InsertNpc(orkelite_addon1,"FP_ROAM_FMC_09");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_10");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_11");
			Wld_InsertNpc(orkelite_bowmenrest,"FP_ROAM_FMC_12");
			Wld_InsertNpc(orkelite_addon1,"FP_ROAM_FMC_13");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_14");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_15");
			Wld_InsertNpc(orkelite_bowmenrest,"FP_ROAM_FMC_16");
			Wld_InsertNpc(orkelite_addon1,"FP_ROAM_FMC_17");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_18");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_19");
			Wld_InsertNpc(orkelite_addon1,"FP_ROAM_FMC_20");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_21");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_22");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_23");
			Wld_InsertNpc(orkelite_addon1,"FP_ROAM_FMC_24");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_25");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_26");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_27");
			Wld_InsertNpc(orkelite_addon1,"FP_ROAM_FMC_28");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_29");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_30");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_31");
			Wld_InsertNpc(orkelite_addon1,"FP_ROAM_FMC_32");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_33");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_34");
			Wld_InsertNpc(orkelite_bowmenrest,"FP_ROAM_FMC_35");
			Wld_InsertNpc(orkelite_addon1,"FP_ROAM_FMC_36");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_37");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_38");
			Wld_InsertNpc(OrcWarrior_Roam,"FP_ROAM_FMC_39");
			Wld_InsertNpc(orkelite_bowmenrest,"FP_ROAM_FMC_40");
			Wld_InsertNpc(orkelite_bowmenrest,"FP_ROAM_FMC_41");
			Wld_InsertNpc(orkelite_bowmenrest,"FP_ROAM_FMC_42");
			Wld_InsertNpc(OrcShaman_Sit,"FP_CAMPFIRE_FMC_01");
			Wld_InsertNpc(OrcShaman_Sit,"FP_CAMPFIRE_FMC_02");
			Wld_InsertNpc(OrcWarrior_Sit,"FP_CAMPFIRE_FMC_03");
			Wld_InsertNpc(OrcWarrior_Sit,"FP_CAMPFIRE_FMC_04");
			Wld_InsertNpc(OrcShaman_Sit,"FP_CAMPFIRE_FMC_05");
			Wld_InsertNpc(OrcShaman_Sit,"FP_CAMPFIRE_FMC_06");
			Wld_InsertNpc(OrcWarrior_Sit,"FP_CAMPFIRE_FMC_07");
			Wld_InsertNpc(dragonsnapper2,"FP_ROAM_FMC_MONSTER_01");
			Wld_InsertNpc(dragonsnapper2,"FP_ROAM_FMC_MONSTER_02");
			Wld_InsertNpc(dragonsnapper2,"FP_ROAM_FMC_MONSTER_03");
			Wld_InsertNpc(bloodfly2,"FP_ROAM_FMC_MONSTER_04");
			Wld_InsertNpc(bloodfly2,"FP_ROAM_FMC_MONSTER_05");
			Wld_InsertNpc(bloodfly2,"FP_ROAM_FMC_MONSTER_06");
			Wld_InsertNpc(warg2,"FP_ROAM_FMC_MONSTER_07");
			Wld_InsertNpc(warg2,"FP_ROAM_FMC_MONSTER_08");
			Wld_InsertNpc(warg2,"FP_ROAM_FMC_MONSTER_09");
			Wld_InsertNpc(dragonsnapper2,"FP_ROAM_FMC_MONSTER_10");
			Wld_InsertNpc(warg2,"FP_ROAM_FMC_MONSTER_11");
			Wld_InsertNpc(warg2,"FP_ROAM_FMC_MONSTER_12");
			Wld_InsertNpc(warg2,"FP_ROAM_FMC_MONSTER_13");
			Wld_InsertNpc(orkelite_addon3_chkflg_28,"FP_ROAM_ORKFLAG_28");
		};
		ENTERFREEMINELAGER_KAPITEL6 = TRUE;
	};
};

func void b_enter_freeminelager()
{
	B_InitNpcGlobals();
	if(Kapitel >= 1)
	{
		b_enter_freeminelager_kapitel_1();
	};
	if(Kapitel >= 2)
	{
		b_enter_freeminelager_kapitel_2();
	};
	if(Kapitel >= 3)
	{
		b_enter_freeminelager_kapitel_3();
	};
	if(Kapitel >= 4)
	{
		b_enter_freeminelager_kapitel_4();
	};
	if(Kapitel >= 5)
	{
		b_enter_freeminelager_kapitel_5();
	};
	if(Kapitel >= 6)
	{
		b_enter_freeminelager_kapitel_6();
	};
	CurrentLevel = FREEMINELAGER_ZEN;
	B_InitNpcGlobals();
};

